package com.exam.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="exam_subject")
public class ExamSubject implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -444711092294614650L;

	@Id
	@Column(name="exam_subject_id",length=5)
	private Integer examSubjectId;
	
	@Column(name="exam_subject_name",length=15)
	private String examSubjectName;
	
	@Column(name="exam_subject_description",length=50)
	private String examSubjectDescription;
	
	@Column(name="exam_subject_tnumber",length=5)
	private Integer examSubjectTnumber;
	
	@Column(name="exam_subject_totaltime")
	private Integer examSubjectTotaltime;
	
	@Column(name="exam_subject_sum",length=5)
	private Integer examSubjectSum;
	
	@Column(name="exam_subject_flag",length=1)
	private Integer examSubjectFlag;
	
	@Column(name="exam_subject_done",length=5)
	private Integer examSubjectDone;

	
	

	public Integer getExamSubjectId() {
		return examSubjectId;
	}




	public void setExamSubjectId(Integer examSubjectId) {
		this.examSubjectId = examSubjectId;
	}




	public String getExamSubjectName() {
		return examSubjectName;
	}




	public void setExamSubjectName(String examSubjectName) {
		this.examSubjectName = examSubjectName;
	}




	public String getExamSubjectDescription() {
		return examSubjectDescription;
	}




	public void setExamSubjectDescription(String examSubjectDescription) {
		this.examSubjectDescription = examSubjectDescription;
	}




	public Integer getExamSubjectTnumber() {
		return examSubjectTnumber;
	}




	public void setExamSubjectTnumber(Integer examSubjectTnumber) {
		this.examSubjectTnumber = examSubjectTnumber;
	}




	public Integer getExamSubjectTotaltime() {
		return examSubjectTotaltime;
	}




	public void setExamSubjectTotaltime(Integer examSubjectTotaltime) {
		this.examSubjectTotaltime = examSubjectTotaltime;
	}




	public Integer getExamSubjectSum() {
		return examSubjectSum;
	}




	public void setExamSubjectSum(Integer examSubjectSum) {
		this.examSubjectSum = examSubjectSum;
	}




	public Integer getExamSubjectFlag() {
		return examSubjectFlag;
	}




	public void setExamSubjectFlag(Integer examSubjectFlag) {
		this.examSubjectFlag = examSubjectFlag;
	}




	public Integer getExamSubjectDone() {
		return examSubjectDone;
	}




	public void setExamSubjectDone(Integer examSubjectDone) {
		this.examSubjectDone = examSubjectDone;
	}




	public ExamSubject(Integer examSubjectId, String examSubjectName, String examSubjectDescription,
			Integer examSubjectTnumber, Integer examSubjectTotaltime, Integer examSubjectSum, Integer examSubjectFlag,
			Integer examSubjectDone) {
		super();
		this.examSubjectId = examSubjectId;
		this.examSubjectName = examSubjectName;
		this.examSubjectDescription = examSubjectDescription;
		this.examSubjectTnumber = examSubjectTnumber;
		this.examSubjectTotaltime = examSubjectTotaltime;
		this.examSubjectSum = examSubjectSum;
		this.examSubjectFlag = examSubjectFlag;
		this.examSubjectDone = examSubjectDone;
	}




	public ExamSubject() {
		super();
	}
	
	
	
}
